import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

export default defineConfig(() => {
  return {
    base: './',
    plugins: [vue()],
    // 在unocss预设一下配置

    define: {
      "process.env": {}
    },
    resolve: {
      alias: {
        "@": path.join(__dirname, 'src'),
        "#": path.join(__dirname, 'types')
      },
    }
  }
})
